<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});

Route::get('authorize', 'index/index/authorize');
Route::post('authorize', 'index/index/authorize');

Route::get('token', 'index/index/token');
Route::post('token', 'index/index/token');

Route::get('resource', 'index/index/resource');
Route::post('resource', 'index/index/resource');

Route::get('refresh_token', 'index/index/refresh_token');
Route::post('refresh_token', 'index/index/refresh_token');

Route::get('pass', 'index/index/pass');
Route::post('pass', 'index/index/pass');

Route::get('implicit', 'index/index/implicit');
Route::post('implicit', 'index/index/implicit');

Route::get('test', 'index/index/test');
Route::post('test', 'index/index/test');
return [

];
